import React from 'react'
import './index.scss'
import EditChat from '../EditChat'
import RealChat from '../RealChat'

interface Iprops {
  width?: string
}

const ChatArea: React.FC<Iprops> = (props: Iprops) => {
  const { width = '75%' } = props
  return (
    <div className='ChatArea' style={{ width: width }}>
      <RealChat></RealChat>
      <EditChat></EditChat>
    </div>
  )
}
export default ChatArea
